package com.heima.Config;

import com.heima.model.wemedia.pojos.WmUser;

public class ThreadUtil {
    public static ThreadLocal<WmUser> threadLocal=new ThreadLocal<>();

    public static WmUser Getthread()
    {
       return  threadLocal.get();
    }

    public static void SetThread(WmUser wmUser)
    {
        threadLocal.set(wmUser);
    }

    public static void DeleteThread()
    {
        threadLocal.remove();
    }

}
